#define  _CRT_SECURE_NO_WARNINGS 1
#include<stdio.h>
#include<assert.h>

int my_strlen(const char* p)
{
	int count = 0;
	assert(p != NULL);
	while (*p != '\0')
	{
		count++;
		p++;
	}
	return count;
}

int main()
{	
	char arr[] = "abcdede";
	printf("%d\n", my_strlen(arr));
	return 0;
}